/**
 * TableProtocol.java
 * 卢晓峰
 * Email：lxf9601@gmail.com
 * QQ 297051898
 * Created by 2010-6-6
 */
package com.autoabacus.core.config.protocol;

/**
 * 表格构造协议
 * @author 卢晓峰
 */
public class TableProtocol {
	/**
	 * 表格元素属性
	 */
	public class Attribute {
		public static final String NAME = "name";
		public static final String ALIAS = "alias";
		public static final String TYPE = "type";
		public static final String TEMPLATE_NAME = "templateName";
	}
	
	/**
	 * 表格类型
	 */
	public enum Type {
		
		/** SQL语句 */
		SQL,
		
		/** SQL视图 */
		VIEW,
		
		/** 存储过程 */
		PROCEDURE,
		
		/** 自定义*/ 
		CUSTOM
	}
}
